const Request = require('../../../request')


// 获取活动详情
export function getActivityDetail(param){
    return Request({
        url: 'api/activity/get/' +param,
        method: 'GET' 
    })
}


// 不通过活动
export function noPassActivity(param){
    return Request({
        url: 'api/activity/notPass',
        data: param,
        method: 'POST'
    })
}

// 通过活动
export function passActivity(param){
    return Request({
        url: 'api/activity/upState',
        data: param,
        method: 'POST'
    })
}


// 删除活动
export function deleteActivity(param){
    return Request({
        url: 'api/api/activity/delete',
        data: param,
        method: 'POST'
    })
}



// 完成活动
export function completeActivity(param){
    return Request({
        url: 'api/evaluate/add',
        data: param,
        method: 'POST'
    })
}